﻿using System;
using System.IO;

namespace ZLWeb.WebApiUtility
{
   
        public static class UrlHelper
        {
            static UrlHelper()
            {
                var documentPath = Environment.GetFolderPath(Environment.SpecialFolder.Personal);
                DocumentPath = string.Format(@"{0}\ZongLian\SOA\", documentPath
                  );
              
                TempDocumentPath = Path.GetTempPath();
            }

          
            /// <summary>
            /// 我的文档配置文件的位置
            /// </summary>
            public static string DocumentPath { get; set; }
            /// <summary>
            /// 返回当前系统的临时文件夹的路径。
            /// </summary>
            public static string TempDocumentPath { get; private set; }

            public static string GetGuid()
            {
                return Guid.NewGuid().ToString().Replace("-", "");
            }
        }
    }
